package com.example.captcha.controller;

import lombok.extern.slf4j.XSlf4j;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.logging.Logger;

@XSlf4j
@RequestMapping("/logger")
@RestController
public class LoggerController {

    @RequestMapping("/log")
    public String log(){
        log.info("打印日志");
        return "scusser";
    }
}
